<?
$postal = $this->postal;
$map = $this->map;
?>

<? if ($map): ?>

<table class="main_table">

    <tr>
        <td colspan="2" style="text-align: center;">
            <?=$map['title']?>
        </td>
    </tr>
    <tr>
        <td style="padding-left: 15px;">
            <a href="view/<?=$map['id']?>">
                <img style="width: 140px;" src="<?=$map['url']?>" alt="Map">
            </a>
        </td>
        <td>
            <?=$map['description']?>
            <p style="font-style: italic; font-size: 16px"> (<?= $map['datestart']->format('Y-m-d') ?> -
                <?= $map['dateend']->format('Y-m-d') ?>)</p>
        </td>
    </tr>

</table>

<? // endforeach; ?>

<? else: ?>
No currently available maps.
<? endif; ?>
